<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/admin_template.dwt" codeOutsideHTMLIsLocked="false" -->
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
<!-- InstanceBeginEditable name="doctitle" -->
        <title></title>
        <!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/layout.css" rel="stylesheet" type="text/css" />

<!--[if lt IE 7]>
	<link href="ie_style.css" rel="stylesheet" type="text/css" />
	 <script type="text/javascript" src="js/ie_png.js"></script>
   <script type="text/javascript">
       ie_png.fix('#content, .line, h1, #footer');
   </script>
<![endif]-->


<script type="text/javascript" src="files/ie6_warning/ie6_script_other.js"></script>
<script src="js/jquery-1.4.2.js" type="text/javascript"></script>
<script src="js/bgstretcher.js" type="text/javascript"></script>
<script src="js/effect.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body id="page1">
		<div class="main">
			<!--header -->
			<div id="header">
				<div class="wrapper">
					<h1><a href="NavigationCO?action=admin" id="logo">Tunga Administration<span><h3>we're better...we're fresher...we're tastier!</h3> </span></a></h1>
				</div>
				<c:choose>
					<c:when test="${not empty sessionScope.acc}">
						<div class="line2" height:70px style="visibility:visible;">
							<div class="wrapper">
									<span class="style1"><img src="${sessionScope.acc.imgPath}" width="60" height="50"/><span class="style1" style="margin-top:15px; margin-left:3px; margin-right:3px">Welcome, <b>${sessionScope.acc.fullname} </b><a href="AccountCO?action=logOut"><img src="images/logout-icon2.png" width="30" height="30" border="0" style="margin-left:2px; margin-right:2px; margin-bottom:9px;"/></a></span></span>
							</div>
						</div>
						<c:if test="${sessionScope.acc.userRole ne 'admin'}">
							<jsp:forward page="unauthorize.jsp"/>
						</c:if>
					</c:when>
					<c:otherwise>
						<div class="line" height="30px" style="visibility:visible;"></div>
						<jsp:forward page="unlogin.jsp"/>
					</c:otherwise>
				</c:choose>
				<ul id="menu">
					<li class="nav1"><a href="ad_AccountManagement.jsp">Account</a></li>
					<li class="nav2"><a href="ad_RestaurantManagement.jsp">Restaurant</a></li>
					<li class="nav3"><a href="ad_RoomManagment.jsp">Room</a></li>
					<li class="nav4"><a href="ad_TableManagement.jsp">Table</a></li>
					<li class="nav5"><a href="ad_FoodManagement.jsp">Food</a></li>
				</ul>
			
			</div>
			<!--header end-->
			<!--content -->
				
				<div id="content">
				  	<!-- InstanceBeginEditable name="content" -->
                <div class="wrapper pad_bot2">
                    <div class="pad_left">
                        <h2>Food Adding<span> form</span></h2>
                        <form id="form_1" method="post" action="FoodCO?action=add" enctype="multipart/form-data">
                            <div>
                                <div class="wrapper">
                                    <div class="col_1">
                                        <input type="text" class="input" name="txtFoodName"/>
                                        <p>Food Name:</p>
                                        <select name="cbbFoodType" class="select">
                                            <c:forEach var="foodType" items="${requestScope.foodTypes}">
                                                <option value="${foodType.id}">${foodType.category}</option>
                                            </c:forEach>
                                        </select>
                                        <p>Category:</p>
                                        <input type="checkbox" class="checkbox" name="ckbVegetarian" />
                                        <p>Is Vegetarian</p>
                                        <input type="text" class="input" name="txtPrice"/>
                                        <p>Price</p>
                                        <input type="file" class="file" name="fileImgPath" />
                                        <p>Image Path</p>
                                        <div class="wrapper">
                                            <input type="submit" class="button" value="Insert"/>
                                            <input type="reset" class="button" value="Reset"/>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </form>
                    </div>
                </div>
                <!-- InstanceEndEditable -->
          		</div>
            <!--content end-->
			<!--footer -->
			<div id="footer">
			  <div class="wrapper">
				
				<div class="contact">
				  <p>131, No Trang Long street, 13 ward, Binh Thanh district, HCM city, Viet Nam </p>
					<p><br />
				  E-mail: <a href="mailto:"></a>thien_quach13@yahoo.com</p>
				</div>
				<ul id="footer_menu">
					<li class="nav1"><a href="NavigationCO?action=home">Home</a></li>
					<li class="nav2"><a href="NavigationCO?action=faqs">FAQs</a></li>
					<li class="nav3"><a href="NavigationCO?action=contact">Contact</a></li>
					<li class="nav4"><a href="NavigationCO?action=manager">Manager</a></li>
					<li class="nav5"><a href="NavigationCO?action=admin">Admin</a></li>
				</ul>
					<span class="right">Design by Quach Thien   &nbsp;&copy; 2011  &nbsp;&nbsp;  <a href="index-6.html">Privacy Policy</a><br />
		  <!-- {%FOOTER_LINK} --></span>		  </div></div>
			<!--footer end-->
		</div>
		<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7078796-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
<!-- InstanceEnd --></html>